package config

import "time"

type database struct {
	DSN string `yaml:"dsn"`
	Pool struct{
		ConnMaxLifetime time.Duration `yaml:"connMaxLifetime"`
		ConnMaxIdleTime time.Duration `yaml:"connMaxIdleTime"`
		MaxOpenConn int `yaml:"maxOpenConn"`
		MaxIdleConn int `yaml:"maxIdleConn"`
	} `yaml:"pool"`
}